<?php
declare(strict_types=1);

namespace ServerApp\lib\server\model\redis;

use WebApp\lib\config\Config;
use WebApp\lib\db\redis\RedisTable;

/**
 * Class Devices
 * @package Tao\src\model\redis\tao
 */
class Online extends RedisTable
{
    const KEY= 'imei';
    const VAL= 'host|fd';

    /**
     * users constructor.
     */
    private function __construct(){
        parent::__construct();
    }

    private static $instance = null;

    /**
     * @return OnlineModel
     */
    public static function getInstance(){
        if (self::$instance == null){
            self::$instance = new self();
        }
        return self::$instance;
    }
}